package semiproject.models;

public class ProfessorVO {
	private String pfno;
	private String name;
	private String fields;
	private String skills;

	// 생성자
	public ProfessorVO(String name, String fields, String skills) {
		this.name = name;
		this.fields = fields;
		this.skills = skills;
	}

	
	//셋겟
	
	public String getPfno() {
		return pfno;
	}
	
	public void setPfno(String pfno) {
		this.pfno = pfno;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public String getFields() {
		return fields;
	}

	public void setFields(String fields) {
		this.fields = fields;
	}

	public String getSkills() {
		return skills;
	}

	public void setSkills(String skills) {
		this.skills = skills;
	}
	
	//toString
	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(pfno).append("/")
			.append(name).append("/")
			.append(fields).append("/")
			.append(skills).append("/");
		
		return sb.toString();	
	}
}
